package br.com.alugargaragem.ui.model;

import br.com.alugargaragem.domain.login.model.Login;
import br.com.lambdacore.builder.Builder;

public class LoginData {

	private Login login;

	private LoginData() {
	}

	public Login getLogin() {
		return this.login;
	}

	public void setLogin(Login login) {
		this.login = login;
	}

	public static LoginDataBuilder create() {
		return new LoginDataBuilder();
	}

	public static class LoginDataBuilder extends Builder<LoginData> {

		public LoginDataBuilder() {
			this.setObject(new LoginData());
		}

		public LoginDataBuilder login(Login login) {
			this.getObject().setLogin(login);
			return this;
		}
	}

}
